# -*- coding:utf-8 -*-
import datetime


#获取当前时间距离当天的24时还有多少秒，返回的数据类型为整形
def get_seconds():
    now = datetime.datetime.now()
    return int((datetime.datetime(now.year, now.month, now.day, 23, 59, 59) - now).total_seconds())
